projects
/
goodguy
/
cinelerra.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7995a2d
)
fix for filebox apply btn on resize
author
Good Guy
<good1.2guy@gmail.com>
Sat, 22 Dec 2018 21:39:42 +0000
(14:39 -0700)
committer
Good Guy
<good1.2guy@gmail.com>
Sat, 22 Dec 2018 21:39:42 +0000
(14:39 -0700)
cinelerra-5.1/cinelerra/loadfile.C
patch
|
blob
|
history
diff --git
a/cinelerra-5.1/cinelerra/loadfile.C
b/cinelerra-5.1/cinelerra/loadfile.C
index 434edfe6e4c20b436008e4e947410a33d283bfcf..2ec06fb432dbf9af9f17a086a1924379a0a63aa3 100644
(file)
--- a/
cinelerra-5.1/cinelerra/loadfile.C
+++ b/
cinelerra-5.1/cinelerra/loadfile.C
@@
-202,8
+202,8
@@
int LoadFileWindow::resize_event(int w, int h)
LoadMode::calculate_h(this, mwindow->theme);
loadmode->reposition_window(x, y);
- x = (
get_w()
- BC_GenericButton::calculate_w(this, _("Apply")))/2;
- y =
get_h()
- BC_GenericButton::calculate_h() - 15;
+ x = (
w
- BC_GenericButton::calculate_w(this, _("Apply")))/2;
+ y =
h
- BC_GenericButton::calculate_h() - 15;
load_file_apply->reposition_window(x, y);
return BC_FileBox::resize_event(w, h);