feat: config, registry autodetect, remember domains
This commit is contained in:
+6
-6
@@ -89,12 +89,12 @@ export component Header inherits Rectangle {
|
||||
VerticalLayout {
|
||||
padding-top: 2px;
|
||||
|
||||
Text {
|
||||
text: "ku6epxboctuk.github.io";
|
||||
color: Theme.text-control;
|
||||
font-size: 14px;
|
||||
font-family: "Consolas";
|
||||
}
|
||||
Text {
|
||||
text: root.url;
|
||||
color: Theme.text-control;
|
||||
font-size: 14px;
|
||||
font-family: "Consolas";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+2
-1
@@ -58,6 +58,7 @@ export component MainWindow inherits Window {
|
||||
title: "bropicker";
|
||||
in property <[BrowserConfig]> browser-model: [];
|
||||
in property <string> current-url: "";
|
||||
in property <string> current-domain: "";
|
||||
in-out property <bool> remember-choice: false;
|
||||
in-out property <bool> always-ask: true;
|
||||
in property <int> selected-index: 0;
|
||||
@@ -141,7 +142,7 @@ export component MainWindow inherits Window {
|
||||
padding-bottom: 8px;
|
||||
|
||||
CheckRow {
|
||||
label: "Запомнить выбор для " + root.current-url;
|
||||
label: "Запомнить выбор для " + root.current-domain;
|
||||
checked <=> root.remember-choice;
|
||||
toggled => {
|
||||
root.toggle-remember(root.remember-choice);
|
||||
|
||||
Reference in New Issue
Block a user