Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE-old
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
PortWINE-old
Commits
5dfa7025
Commit
5dfa7025
authored
Aug 22, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Htylol-fixed-combobox-gpu' into devel
parents
782f59fb
1651cdbd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
functions_helper
data_from_portwine/scripts/functions_helper
+16
-4
No files found.
data_from_portwine/scripts/functions_helper
View file @
5dfa7025
...
...
@@ -562,22 +562,34 @@ debug_timer () {
print_warning
"It took
$DIFF
milliseconds"
fi
fi
return
0
}
combobox_fix
()
{
if
[[
-z
"
$1
"
]]
||
[[
-z
"
$2
"
&&
"
$1
"
!=
"--empty"
]]
;
then
if
[[
-z
"
$1
"
]]
;
then
print_error
"no argument specified for combobox_fix"
return
1
else
if
[[
"
$1
"
==
"--disabled"
]]
||
[[
"
$1
"
==
"--empty"
]]
;
then
if
[[
"
$1
"
==
"--disabled"
]]
;
then
if
[[
-z
"
$3
"
]]
;
then
print_error
"no argument specified for combobox_fix"
return
1
echo
"disabled"
return
0
fi
name1
=
"
$2
"
name2
=
"
$3
"
elif
[[
"
$1
"
==
"--empty"
]]
;
then
if
[[
-z
"
$3
"
]]
;
then
echo
""
return
0
fi
name1
=
"
$2
"
name2
=
"
$3
"
else
name1
=
"
$1
"
if
[[
-z
"
$2
"
]]
;
then
echo
"
${
name1
}
"
return
0
fi
name2
=
"
$2
"
fi
name3
=
"
${
name2
//\!
${
name1
}
\!/\!
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment