Skip to content

Commit

Permalink
kde: fix detction of cancel button
Browse files Browse the repository at this point in the history
  • Loading branch information
samangh committed Mar 11, 2024
1 parent 309b7f2 commit de7217a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions portable-file-dialogs.h
Original file line number Diff line number Diff line change
Expand Up @@ -1790,6 +1790,8 @@ inline message::message(std::string const &title,
if (_choice == choice::yes_no || _choice == choice::yes_no_cancel)
{
m_mappings[0] = button::yes;
m_mappings[1] = button::no;
m_mappings[2] = button::cancel;
m_mappings[256] = button::no;
}
}
Expand Down

0 comments on commit de7217a

Please sign in to comment.