mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-12-26 13:14:13 +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);
|
||||
|
||||
copyselect=new checkbox(this,COPYSELECTION);
|
||||
copyselect->onclick=[=](){
|
||||
host->check_toclipboard_selection=copyselect->ischecked();
|
||||
};
|
||||
copyselect->setcheck(host->check_toclipboard_selection);
|
||||
// copyselect=new checkbox(this,COPYSELECTION);
|
||||
// copyselect->onclick=[=](){
|
||||
// host->check_toclipboard_selection=copyselect->ischecked();
|
||||
// };
|
||||
// copyselect->setcheck(host->check_toclipboard_selection);
|
||||
|
||||
autoattach =new checkbox(this,LblAutoAttach);
|
||||
autoattach->onclick=[=](){
|
||||
@ -519,7 +519,7 @@ Settingwindow::Settingwindow(LunaHost* host):mainwindow(host){
|
||||
mainlayout->addcontrol(autoattach,6,0,1,2);
|
||||
mainlayout->addcontrol(autoattach_so,7,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);
|
||||
setcentral(600,500);
|
||||
|
Loading…
x
Reference in New Issue
Block a user