User forums > Using Code::Blocks

Remove files silently fails when no file has been selected.


Remove files silently fails when no file has been selected just after a project is loaded.

1) load a project
2) click main menu/Project/Remove files...

Nothing happens.
Shouldn't the user be given a message to select a file first?

--- Code: ---Name                    : Code::Blocks
Version                 : svn-r12516
SDK Version             : 2.14.0
Scintilla Version       : 3.7.5
Author                  : The Code::Blocks Team
E-mail                  :
Website                 :
OS                      : Windows 10 (build 18363), 64-bit edition
Scaling factor          : 1.000000
Detected scaling factor : 1.000000
Display PPI             : 120x120
Display count           : 1
Display 0 (\\.\DISPLAY1): XY=[0,0]; Size=[1920,1080]; Primary

wxWidgets Library (wxMSW port)
Version 3.1.5 (Unicode: wchar_t, debug level: 1),
compiled at Jun  5 2021 11:08:36

Runtime version of toolkit used is 10.0.

--- End code ---

Miguel Gimenez:
IMHO the better option would be disabling the option if there are no selected files, but a message is easier and the user is expecting a popup anyway.


[0] Message Index

Go to full version