mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Fix odd behavior when switching active lines with the Effect or Actor boxes focused
Originally committed to SVN as r6357.
This commit is contained in:
parent
f8c27feedb
commit
e7307d249e
@ -82,7 +82,7 @@ public:
|
||||
///
|
||||
/// If new_value is empty, the control will switch to placeholder mode
|
||||
void ChangeValue(wxString new_value) {
|
||||
if (new_value.empty()) {
|
||||
if (new_value.empty() && !this->HasFocus()) {
|
||||
is_placeholder = true;
|
||||
new_value = placeholder;
|
||||
BaseCtrl::SetForegroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT));
|
||||
|
Loading…
x
Reference in New Issue
Block a user