We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64bdd71 commit e22717eCopy full SHA for e22717e
data/fcitx5-configtool.sh
@@ -7,14 +7,14 @@ export TEXTDOMAIN=fcitx5
7
8
if command -v kdialog > /dev/null 2>&1; then
9
message() {
10
- kdialog --msgbox "$1"
+ kdialog --yesno "$1"
11
}
12
error() {
13
kdialog --error "$1"
14
15
elif command -v zenity > /dev/null 2>&1; then
16
17
- zenity --info --text="$1"
+ zenity --question --text="$1"
18
19
20
zenity --error --text="$1"
@@ -138,6 +138,11 @@ run_xdg() {
138
;;
139
esac
140
141
+ # user choose no
142
+ if [ $? -ne 0 ]; then
143
+ exit
144
+ fi
145
+
146
if command="$(command -v xdg-open 2>/dev/null)"; then
147
exec "$command" "$HOME/.config/fcitx5"
148
fi
0 commit comments