~ruther/CTU-FEE-B0B35APO-Semestral-project

9406e0e5bc003374b90bf0b1c29b1cd8fb00850f — František Boháček 3 years ago 85f0ec9
feat: add dialog for contextmenus on folders
1 files changed, 1 insertions(+), 0 deletions(-)

M file-browser/src/window_browser.c
M file-browser/src/window_browser.c => file-browser/src/window_browser.c +1 -0
@@ 93,6 93,7 @@ static void command_handler_contextmenu(void *state, int amount) {
    if (file->type != FT_FILE) {
      logger_warn(bstate->gui->logger, __FILE__, __FUNCTION__, __LINE__,
                  "Context menus are for files only");
      dialog_info_show(bstate->gui, bstate->font, "WARNING", "Contextmenu is for files only.");
      return;
    }


Do not follow this link