Sistemato set_dirty in conseguenza di pressione bottone sheet
git-svn-id: svn://10.65.10.50/trunk@1086 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									e8d676588d
								
							
						
					
					
						commit
						9d9a229d5e
					
				@ -597,10 +597,12 @@ void TSpreadsheet::list_handler(XI_EVENT *xiev)
 | 
			
		||||
      update(_cur_rec);
 | 
			
		||||
      
 | 
			
		||||
      TMask_field* button = col2field(_cur_col);
 | 
			
		||||
      notify_change();
 | 
			
		||||
      button->on_hit();
 | 
			
		||||
      if (_mask.dirty())
 | 
			
		||||
      { 
 | 
			
		||||
        notify_change();
 | 
			
		||||
        mask2str(_cur_rec);
 | 
			
		||||
      
 | 
			
		||||
      }
 | 
			
		||||
      _check_enabled = TRUE;    
 | 
			
		||||
    }    
 | 
			
		||||
    xiev->refused = TRUE;
 | 
			
		||||
 | 
			
		||||
@ -1716,6 +1716,7 @@ bool TViswin::on_key (KEY key)
 | 
			
		||||
      dispatch_e_scroll (win(), K_UP);
 | 
			
		||||
      break;
 | 
			
		||||
    case K_CTRL_DOWN:    
 | 
			
		||||
      // TBI condizioniamo qui ?? 
 | 
			
		||||
      dispatch_e_scroll (win(), K_DOWN);
 | 
			
		||||
      break;
 | 
			
		||||
    case K_ALT_LEFT:
 | 
			
		||||
@ -2002,6 +2003,7 @@ long TViswin::search(const char* txt, int& pos, long from, bool down, bool cs)
 | 
			
		||||
 | 
			
		||||
int TViswin::replace(long l, const char* txt, int pos, int len)
 | 
			
		||||
{                   
 | 
			
		||||
  if (l == -1l) return -1;
 | 
			
		||||
  int ret =  _txt.replace(l,txt,pos,len);
 | 
			
		||||
  if (ret != -1)
 | 
			
		||||
  {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user