mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-12-26 21:24:12 +08:00
Update LunaHost.cpp
This commit is contained in:
parent
38a6c81995
commit
2f4fb39982
@ -465,11 +465,11 @@ Settingwindow::Settingwindow(LunaHost* host):mainwindow(host){
|
|||||||
};
|
};
|
||||||
g_check_clipboard->setcheck(host->check_toclipboard);
|
g_check_clipboard->setcheck(host->check_toclipboard);
|
||||||
|
|
||||||
copyselect=new checkbox(this,COPYSELECTION);
|
// copyselect=new checkbox(this,COPYSELECTION);
|
||||||
copyselect->onclick=[=](){
|
// copyselect->onclick=[=](){
|
||||||
host->check_toclipboard_selection=copyselect->ischecked();
|
// host->check_toclipboard_selection=copyselect->ischecked();
|
||||||
};
|
// };
|
||||||
copyselect->setcheck(host->check_toclipboard_selection);
|
// copyselect->setcheck(host->check_toclipboard_selection);
|
||||||
|
|
||||||
autoattach =new checkbox(this,LblAutoAttach);
|
autoattach =new checkbox(this,LblAutoAttach);
|
||||||
autoattach->onclick=[=](){
|
autoattach->onclick=[=](){
|
||||||
@ -519,7 +519,7 @@ Settingwindow::Settingwindow(LunaHost* host):mainwindow(host){
|
|||||||
mainlayout->addcontrol(autoattach,6,0,1,2);
|
mainlayout->addcontrol(autoattach,6,0,1,2);
|
||||||
mainlayout->addcontrol(autoattach_so,7,0,1,2);
|
mainlayout->addcontrol(autoattach_so,7,0,1,2);
|
||||||
mainlayout->addcontrol(readonlycheck,8,0,1,2);
|
mainlayout->addcontrol(readonlycheck,8,0,1,2);
|
||||||
mainlayout->addcontrol(copyselect,9,0,1,2);
|
//mainlayout->addcontrol(copyselect,9,0,1,2);
|
||||||
|
|
||||||
setlayout(mainlayout);
|
setlayout(mainlayout);
|
||||||
setcentral(600,500);
|
setcentral(600,500);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user