Fix linux support
This commit is contained in:
parent
6217d497ed
commit
54c654530e
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class FileChooserDialog {
|
|||
filters_(filters) {
|
||||
const char* confirm_text = GTK_STOCK_OK;
|
||||
|
||||
if (button_label != NULL)
|
||||
if (!button_label.empty())
|
||||
confirm_text = button_label.c_str();
|
||||
else if (action == GTK_FILE_CHOOSER_ACTION_SAVE)
|
||||
confirm_text = GTK_STOCK_SAVE;
|
||||
|
|
Loading…
Reference in a new issue