mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-26 20:37:50 +02:00
Fixed ever-expanding apply button in sdrplay source
This commit is contained in:
@ -940,13 +940,13 @@ private:
|
||||
}
|
||||
|
||||
SmGui::ForceSync();
|
||||
if (SmGui::Button("Apply")) {
|
||||
if (SmGui::Button("Apply", ImVec2(100, 0))) {
|
||||
open = false;
|
||||
valid = true;
|
||||
}
|
||||
SmGui::SameLine();
|
||||
SmGui::ForceSync();
|
||||
if (SmGui::Button("Cancel")) {
|
||||
if (SmGui::Button("Cancel", ImVec2(100, 0))) {
|
||||
open = false;
|
||||
valid = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user