aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSemperVinco <w.deweijer@hotmail.com>2017-03-05 15:39:50 +0100
committerSemperVinco <w.deweijer@hotmail.com>2017-03-05 15:39:50 +0100
commit3f74f46d004517e1356e39077b477d0f9970298f (patch)
tree199b66348a205b5157b002720ec7fd9b3f06bfe1
parent9d85ffedb3e35b003f9b0fc1178974e7cf924ed4 (diff)
File Chooser Filter wrong on windows too
-rw-r--r--gui.cpp4
1 files changed, 0 insertions, 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: