Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
GCstar
GCstar
Commits
3925baaf
Commit
3925baaf
authored
Feb 07, 2018
by
Kerenoc
Browse files
Fix range for advanced search (contrib from van der Decken)
parent
e72724f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
gcstar/lib/gcstar/GCGraphicComponents/GCBasicWidgets.pm
View file @
3925baaf
...
...
@@ -928,7 +928,7 @@ our @audioExtensions = ('.m3u','.pls','.asx','.wax','.wvx','.b4s','.kpl','.ram',
my
(
$self
,
$value
)
=
@_
;
my
@values
=
split
m/;/
,
$value
;
$self
->
{
from
}
->
setValue
(
$values
[
0
]);
$self
->
{
to
}
->
setValue
(
$values
[
0
]);
$self
->
{
to
}
->
setValue
(
$values
[
1
]);
}
sub
setWidth
...
...
@@ -1129,9 +1129,9 @@ our @audioExtensions = ('.m3u','.pls','.asx','.wax','.wvx','.b4s','.kpl','.ram',
$dialog
->
set_pattern_filter
(
$self
->
{
patterns
})
if
$self
->
{
patterns
};
my
$response
=
$dialog
->
run
;
if
(
$response
eq
'
ok
')
{
my
$response
=
$dialog
->
run
;
if
(
$response
eq
'
ok
')
{
$self
->
setValue
(
$dialog
->
get_filename
);
}
$dialog
->
hide
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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