Add a "signals and callbacks" chapter into the first steps document

This commit is contained in:
Markus Gans 2018-12-28 08:09:05 +01:00
parent 17540c9581
commit 43f97a0d6a
2 changed files with 1 additions and 2 deletions

View File

@ -591,7 +591,6 @@ int main (int argc, char* argv[])
return app.exec(); return app.exec();
} }
``` ```
```
*(Note: You can close the window with the mouse, *(Note: You can close the window with the mouse,
<kbd>Shift</kbd>+<kbd>F10</kbd> or <kbd>Ctrl</kbd>+<kbd>^</kbd>)* <kbd>Shift</kbd>+<kbd>F10</kbd> or <kbd>Ctrl</kbd>+<kbd>^</kbd>)*

View File

@ -803,7 +803,7 @@ void FFileDialog::cb_processRowChanged (FWidget*, FDataPtr)
if ( n == 0 ) if ( n == 0 )
return; return;
const auto& name = dir_entries[n - 1].name; const auto& name = FString(dir_entries[n - 1].name);
if ( dir_entries[n - 1].directory ) if ( dir_entries[n - 1].directory )
filename.setText( name + '/' ); filename.setText( name + '/' );