From 3f74f46d004517e1356e39077b477d0f9970298f Mon Sep 17 00:00:00 2001 From: SemperVinco Date: Sun, 5 Mar 2017 15:39:50 +0100 Subject: File Chooser Filter wrong on windows too --- gui.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gui.cpp b/gui.cpp index 5dbf43f..457598b 100644 --- a/gui.cpp +++ b/gui.cpp @@ -154,11 +154,7 @@ Simulation *simulation; static void openBotFileChooser(){ Fl_Native_File_Chooser fc(Fl_Native_File_Chooser::BROWSE_MULTI_FILE); fc.title("Add bots to sim"); -#ifdef __APPLE__ fc.filter("Robocom Bot Files\t*.rob"); -#else - fc.filter("Robocom Bot Files (*.rob)\t*.rob"); -#endif switch(fc.show()) { case -1: -- cgit v1.2.3-70-g09d2